.class Lcom/xingbook/ui/i;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/xingbook/ting/receiver/b;


# instance fields
.field final synthetic a:Lcom/xingbook/ui/InsetTingTingViews;


# direct methods
.method constructor <init>(Lcom/xingbook/ui/InsetTingTingViews;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/ui/i;->a:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 5

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/xingbook/ui/i;->a:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-virtual {v0}, Lcom/xingbook/ui/InsetTingTingViews;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/ting/play/j;->a(Landroid/content/Context;)Lcom/xingbook/ting/play/j;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/ting/play/j;->g()Lcom/xingbook/audio/b/b;

    move-result-object v3

    iget-object v0, p0, Lcom/xingbook/ui/i;->a:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-static {v0}, Lcom/xingbook/ui/InsetTingTingViews;->a(Lcom/xingbook/ui/InsetTingTingViews;)Ljava/util/ArrayList;

    move-result-object v0

    if-eqz v0, :cond_0

    if-eqz v3, :cond_0

    move v1, v2

    :goto_0
    iget-object v0, p0, Lcom/xingbook/ui/i;->a:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-static {v0}, Lcom/xingbook/ui/InsetTingTingViews;->a(Lcom/xingbook/ui/InsetTingTingViews;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lt v1, v0, :cond_1

    :cond_0
    :goto_1
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/ui/i;->a:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-static {v0}, Lcom/xingbook/ui/InsetTingTingViews;->a(Lcom/xingbook/ui/InsetTingTingViews;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/b/k;

    if-eqz v0, :cond_2

    invoke-virtual {v0}, Lcom/xingbook/b/k;->t()Ljava/lang/String;

    move-result-object v4

    if-eqz v4, :cond_2

    invoke-virtual {v0}, Lcom/xingbook/b/k;->t()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v3}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v0, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/i;->a:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-static {v0}, Lcom/xingbook/ui/InsetTingTingViews;->c(Lcom/xingbook/ui/InsetTingTingViews;)Ljava/util/ArrayList;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/i;->a:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-static {v0}, Lcom/xingbook/ui/InsetTingTingViews;->c(Lcom/xingbook/ui/InsetTingTingViews;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-le v0, v1, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/i;->a:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-static {v0}, Lcom/xingbook/ui/InsetTingTingViews;->c(Lcom/xingbook/ui/InsetTingTingViews;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/ui/l;

    iget-object v0, v0, Lcom/xingbook/ui/l;->c:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setSelected(Z)V

    goto :goto_1

    :cond_2
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0
.end method

.method public b()V
    .locals 0

    return-void
.end method

.method public c()V
    .locals 0

    return-void
.end method

.method public d()V
    .locals 4

    iget-object v0, p0, Lcom/xingbook/ui/i;->a:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-virtual {v0}, Lcom/xingbook/ui/InsetTingTingViews;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/ting/play/j;->a(Landroid/content/Context;)Lcom/xingbook/ting/play/j;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/ting/play/j;->g()Lcom/xingbook/audio/b/b;

    move-result-object v2

    iget-object v0, p0, Lcom/xingbook/ui/i;->a:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-static {v0}, Lcom/xingbook/ui/InsetTingTingViews;->a(Lcom/xingbook/ui/InsetTingTingViews;)Ljava/util/ArrayList;

    move-result-object v0

    if-eqz v0, :cond_0

    if-eqz v2, :cond_0

    const/4 v0, 0x0

    move v1, v0

    :goto_0
    iget-object v0, p0, Lcom/xingbook/ui/i;->a:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-static {v0}, Lcom/xingbook/ui/InsetTingTingViews;->a(Lcom/xingbook/ui/InsetTingTingViews;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lt v1, v0, :cond_1

    :cond_0
    :goto_1
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/ui/i;->a:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-static {v0}, Lcom/xingbook/ui/InsetTingTingViews;->a(Lcom/xingbook/ui/InsetTingTingViews;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/b/k;

    if-eqz v0, :cond_2

    invoke-virtual {v0}, Lcom/xingbook/b/k;->t()Ljava/lang/String;

    move-result-object v3

    if-eqz v3, :cond_2

    invoke-virtual {v0}, Lcom/xingbook/b/k;->t()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/i;->a:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-static {v0}, Lcom/xingbook/ui/InsetTingTingViews;->c(Lcom/xingbook/ui/InsetTingTingViews;)Ljava/util/ArrayList;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/i;->a:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-static {v0}, Lcom/xingbook/ui/InsetTingTingViews;->c(Lcom/xingbook/ui/InsetTingTingViews;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-le v0, v1, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/i;->a:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-static {v0}, Lcom/xingbook/ui/InsetTingTingViews;->c(Lcom/xingbook/ui/InsetTingTingViews;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/ui/l;

    iget-object v0, v0, Lcom/xingbook/ui/l;->c:Landroid/widget/ImageView;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setSelected(Z)V

    goto :goto_1

    :cond_2
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0
.end method

.method public e()V
    .locals 5

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/xingbook/ui/i;->a:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-virtual {v0}, Lcom/xingbook/ui/InsetTingTingViews;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/ting/play/j;->a(Landroid/content/Context;)Lcom/xingbook/ting/play/j;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/ting/play/j;->g()Lcom/xingbook/audio/b/b;

    move-result-object v3

    iget-object v0, p0, Lcom/xingbook/ui/i;->a:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-static {v0}, Lcom/xingbook/ui/InsetTingTingViews;->a(Lcom/xingbook/ui/InsetTingTingViews;)Ljava/util/ArrayList;

    move-result-object v0

    if-eqz v0, :cond_0

    if-eqz v3, :cond_0

    move v1, v2

    :goto_0
    iget-object v0, p0, Lcom/xingbook/ui/i;->a:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-static {v0}, Lcom/xingbook/ui/InsetTingTingViews;->a(Lcom/xingbook/ui/InsetTingTingViews;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lt v1, v0, :cond_1

    :cond_0
    :goto_1
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/ui/i;->a:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-static {v0}, Lcom/xingbook/ui/InsetTingTingViews;->a(Lcom/xingbook/ui/InsetTingTingViews;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/b/k;

    if-eqz v0, :cond_2

    invoke-virtual {v0}, Lcom/xingbook/b/k;->t()Ljava/lang/String;

    move-result-object v4

    if-eqz v4, :cond_2

    invoke-virtual {v0}, Lcom/xingbook/b/k;->t()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v3}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v0, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/i;->a:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-static {v0}, Lcom/xingbook/ui/InsetTingTingViews;->c(Lcom/xingbook/ui/InsetTingTingViews;)Ljava/util/ArrayList;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/i;->a:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-static {v0}, Lcom/xingbook/ui/InsetTingTingViews;->c(Lcom/xingbook/ui/InsetTingTingViews;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-le v0, v1, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/i;->a:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-static {v0}, Lcom/xingbook/ui/InsetTingTingViews;->c(Lcom/xingbook/ui/InsetTingTingViews;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/ui/l;

    iget-object v0, v0, Lcom/xingbook/ui/l;->c:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setSelected(Z)V

    goto :goto_1

    :cond_2
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0
.end method

.method public f()V
    .locals 5

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/xingbook/ui/i;->a:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-virtual {v0}, Lcom/xingbook/ui/InsetTingTingViews;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/ting/play/j;->a(Landroid/content/Context;)Lcom/xingbook/ting/play/j;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/ting/play/j;->g()Lcom/xingbook/audio/b/b;

    move-result-object v3

    iget-object v0, p0, Lcom/xingbook/ui/i;->a:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-static {v0}, Lcom/xingbook/ui/InsetTingTingViews;->a(Lcom/xingbook/ui/InsetTingTingViews;)Ljava/util/ArrayList;

    move-result-object v0

    if-eqz v0, :cond_0

    if-eqz v3, :cond_0

    move v1, v2

    :goto_0
    iget-object v0, p0, Lcom/xingbook/ui/i;->a:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-static {v0}, Lcom/xingbook/ui/InsetTingTingViews;->a(Lcom/xingbook/ui/InsetTingTingViews;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lt v1, v0, :cond_1

    :cond_0
    :goto_1
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/ui/i;->a:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-static {v0}, Lcom/xingbook/ui/InsetTingTingViews;->a(Lcom/xingbook/ui/InsetTingTingViews;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/b/k;

    if-eqz v0, :cond_2

    invoke-virtual {v0}, Lcom/xingbook/b/k;->t()Ljava/lang/String;

    move-result-object v4

    if-eqz v4, :cond_2

    invoke-virtual {v0}, Lcom/xingbook/b/k;->t()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v3}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v0, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/i;->a:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-static {v0}, Lcom/xingbook/ui/InsetTingTingViews;->c(Lcom/xingbook/ui/InsetTingTingViews;)Ljava/util/ArrayList;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/i;->a:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-static {v0}, Lcom/xingbook/ui/InsetTingTingViews;->c(Lcom/xingbook/ui/InsetTingTingViews;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-le v0, v1, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/i;->a:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-static {v0}, Lcom/xingbook/ui/InsetTingTingViews;->c(Lcom/xingbook/ui/InsetTingTingViews;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/ui/l;

    iget-object v0, v0, Lcom/xingbook/ui/l;->c:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setSelected(Z)V

    goto :goto_1

    :cond_2
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0
.end method
